package com.penghaisoft.microwms.common.data.model;


import com.penghaisoft.microwms.common.BaseEntity;
import com.penghaisoft.microwms.common.util.CommonUtils;

/**
 * @Description 区域 bean
 * @author luoteng
 * @date 2017年5月24日 下午2:22:16
 * @version 1.0
 */
public class MdRegion extends BaseEntity {

	/**
	 * regionId
	 */
	private String regionId;
	/**
	 * 区域编号
	 */
	private String regionCode;
	/**
	 * 区域描述
	 */
	private String regionDesc;
	/**
	 * 仓库编码
	 */
	private String whCode;
	/**
	 * 配置是否回传OMS交接组（一个区域多个库区才回传）
	 */
	private String passBackFlag;
	/**
	 * 不可用#交接组是否按库区配置 1是 0否
	 */
	private String handoverAreaFlag;
	/**
	 * 优先级 1 2 3 4
	 */
	private String priority;
	/**
	 * 联系人
	 */
	private String contact;
	/**
	 * 联系电话
	 */
	private String contactNumber;
	/**
	 * 联系地址
	 */
	private String contactAddress;

	/**
	 * 隶属 工厂
	 */
	private String factoryCode;

	/**
	 * 生产 工厂
	 */
	private String productFactoryCode;

	private String factoryCodeShow;
	private String factoryNameShow;

	@Override
	public void preInsert() {
		super.preInsert();
		setRegionId(CommonUtils.getUUID());
	}

	public String getFactoryCodeShow() {
		return factoryCodeShow;
	}

	public void setFactoryCodeShow(String factoryCodeShow) {
		this.factoryCodeShow = factoryCodeShow;
	}

	public String getFactoryNameShow() {
		return factoryNameShow;
	}

	public void setFactoryNameShow(String factoryNameShow) {
		this.factoryNameShow = factoryNameShow;
	}

	public String getRegionId() {
		return this.regionId;
	}

	public void setRegionId(String value) {
		this.regionId = value;
	}

	public String getRegionCode() {
		return this.regionCode;
	}

	public void setRegionCode(String value) {
		this.regionCode = value;
	}

	public String getRegionDesc() {
		return this.regionDesc;
	}

	public String getProductFactoryCode() {
		return productFactoryCode;
	}

	public void setProductFactoryCode(String productFactoryCode) {
		this.productFactoryCode = productFactoryCode;
	}

	public void setRegionDesc(String value) {
		this.regionDesc = value;
	}

	public String getWhCode() {
		return this.whCode;
	}

	public void setWhCode(String value) {
		this.whCode = value;
	}

	public String getPassBackFlag() {
		return this.passBackFlag;
	}

	public void setPassBackFlag(String value) {
		this.passBackFlag = value;
	}

	public String getHandoverAreaFlag() {
		return this.handoverAreaFlag;
	}

	public void setHandoverAreaFlag(String value) {
		this.handoverAreaFlag = value;
	}

	public String getPriority() {
		return this.priority;
	}

	public void setPriority(String value) {
		this.priority = value;
	}

	public String getContact() {
		return this.contact;
	}

	public void setContact(String value) {
		this.contact = value;
	}

	public String getContactNumber() {
		return this.contactNumber;
	}

	public void setContactNumber(String value) {
		this.contactNumber = value;
	}

	public String getContactAddress() {
		return this.contactAddress;
	}

	public void setContactAddress(String value) {
		this.contactAddress = value;
	}

	public String getFactoryCode() {
		return factoryCode;
	}

	public void setFactoryCode(String factoryCode) {
		this.factoryCode = factoryCode;
	}

}
